defaultFontSize

abstract fun defaultFontSize(fontSize: FontSizeInPixels)

Sets the default font size of the web content in the browser.

Also, updates the default fixed-width font size and sets its value less by 3 than the given fontSize.

Since

7.20

Parameters

fontSize

the font size to set as default. Must not be less than 9

Throws

when the browser is closed.

when the given size is less than 9


Returns the default font size in pixels of the web content in the browser.

Since

7.20

Throws

when the browser is closed